{% extends "base.html"%}
{% load static %}

{% block content %}
    {{ block.super }}
     <h3> {{ name }} </h3>
    <form class="form-horizontal" action="{% url 'new_object' pid %}" method="post">{% csrf_token %}
     {% include "dojo/form_fields.html" with form=tform %}
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input class="btn btn-primary" type="submit" value="Submit"/>
            </div>
        </div>
    </form>
{% endblock %}
{% block postscript %}
    {{ block.super }}
{% endblock %}
